// import { pureGet } from "../common/ajax";
import Config from "../common/config";
import axios from "axios";

// export const fetchSeries = () => pureGet("/init/getCategoryOpt");

export const fetchSeries = () => axios.get(Config.backEndUrl + "/init/getCategoryOpt")

export const fetchDepartmentSeries = () => axios.get(Config.backEndUrl + "/init/getDepartmentOpt")

// export function fetchSeries() {
//     return request({
//       url: '/init/seriesOpt',
//       method: 'get'
//     })
//   }
